//
//  LeveyPopListView.h
//  LeveyPopListViewDemo
//
//  Created by Levey on 2/21/12.
//  Copyright (c) 2012 Levey. All rights reserved.
//


@protocol LeveyRightPopListViewDelegate;

@interface LeveyPopListView : UIView <UITableViewDataSource, UITableViewDelegate>


@property (nonatomic, weak) id<LeveyRightPopListViewDelegate> delegate;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSArray *options;

- (id)initWithOptions:(NSArray *)aOptions;

- (void)showInView:(UIView *)aView animated:(BOOL)animated;

- (void)fadeOut;
@end

@protocol LeveyRightPopListViewDelegate <NSObject>
- (void)leveyRightPopListView:(LeveyPopListView *)popListView didSelectedIndex:(NSInteger)anIndex;
- (void)leveyRightPopListViewDidCancel;
@end